package cn.hicard.risk.service.bd.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.hicard.risk.dao.bd.CardbinDao;
import cn.hicard.risk.entity.BdCardbin;
import cn.hicard.risk.service.bd.CardbinService;

/**
 * 卡BIN数据业务接口实现类
 * @author zhangy
 *
 */
@Service
public class CardbinServiceImpl implements CardbinService {
	
	@Autowired
	private CardbinDao cardbinDao;

	public void setCardbinDao(CardbinDao cardbinDao) {
		this.cardbinDao = cardbinDao;
	}

	
	public List<BdCardbin> getAll() throws Exception{
		return cardbinDao.getAll();
	}

	
	public List<String> getCardIssues() throws Exception{
		return cardbinDao.getCardIssues();
	}

}
